
export default url => {
    const crud = window.$crud(url);

	//数据连接列表
	const dbList = (params) => window.$axios({
	    url: `data/dblinks`,
	    method: 'get',
		params
	})
	
	const request = (url,method,params,headers) => window.$axios({
	    url,
	    method,
	    params,
		data:params,
		headers
	});


    return {
        ...crud,
		dbList,
		request
    }
}